package com.lwq.designpattern.structuralPatterns.proxyPattern.staticProxy;

/**
 * @ClassName
 * @Description
 * @Author liwq
 * @Date 2021/4/29 15:16
 * @Version 1.0
 */
public class ProxyManager implements IStar {
    private IStar iStar;

    public ProxyManager(IStar iStar) {
        this.iStar = iStar;
    }

    @Override
    public void sing() {
        System.out.println("代理经纪人演唱会前准备");
        iStar.sing();
        System.out.println("代理经纪人演唱会结束收尾工作");
    }
}
